package com.uphone.kingmall.utils;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/16
 *     desc   :
 * </pre>
 */
public class MyUrl {
    // 服务器url
    public final static String ServiceUrl = "http://120.79.21.140:8881/";
//    public final static String ServiceUrl = "http://shop.91wzsc.com/";

    //    public final static String ServiceUrl = "http://api.wzsc.shengxintech.com/";
    //    public final static String ServiceUrl = "http://47.107.58.179:8082/";
//    public final static String ServiceUrlH5 = "http://shop.91wzsc.com/";
    public final static String ServiceUrlH5 = "http://120.79.21.140:8881/";
    public final static String ServiceMidUrl = "api/";

    /**********************************分享H5页面***************************************/
    public final static String h5HaggleDetail = ServiceUrlH5 + "share/shareHaggle.html?haggleId=";
    public final static String h5GoodDetail = ServiceUrlH5 + "share/goods.html?goodsId=";
    public final static String h5AppDownload = "http://entrance.download.shengxintech.com/wzmall/index.html";
    public final static String h5ShenZhenAir = "http://tmcadapter.shenzhenair.com:8088/tmc-jsbank/adapter/login/comm/loginH5?";


    /**********************************登录***************************************/
    // 发送手机验证码 1.注册；2.登录；3.绑定手机；4.修改密码；；5.绑定银行卡
    public final static String sendSmsCode = "sendSmsCode";
    // 获取机器验证码。获取后好存到本地，本地没有才调用。获取手机验证码接口使用。
    public final static String getMachCaptcha = "getMachCaptcha";
    // 注册
    public final static String register = "register";
    // 密码登录
    public final static String loginByPass = "loginByPass";
    // 忘记密码/修改密码
    public final static String updatePass = "updatePass";
    // 微信登录;返回code=1为第一次登录，需要绑定手机号
    public final static String loginByWx = "loginByWx";
    // 微信登录绑定手机号
    public final static String wxloginBindTel = "wxloginBindTel";
    // QQ登录;返回code=1为第一次登录，需要绑定手机号
    public final static String loginByQQ = "loginByQQ";
    // QQ登录绑定手机号
    public final static String qqloginBindTel = "qqloginBindTel";

    /**********************************首页***************************************/
    // 广告轮播
    public final static String adverts = "adverts";
    // 获取首页一级分类
    public final static String getIndexCats = "getIndexCats";
    // 分类商品
    public final static String getCatGoods = "getCatGoods";
    // 限时购商品
    public final static String getFlashSales = "getFlashSales";
    // 砍价购商品列表
    public final static String getHaggleGoods = "getHaggleGoods";
    // 品牌商品
    public final static String getPinpaiGoods = "getPinpaiGoods";
    // 猜你喜欢
    public final static String getYourLikes = "getYourLikes";
    // 店铺详情
    public final static String getShopInfo = "getShopInfo";
    // 店铺首页
    public final static String shopRemGoods = "shopRemGoods";
    // 投诉举报店铺
    public final static String reportShop = "reportShop";
    // 店铺相册
    public final static String getShopPhotos = "getShopPhotos";
    // 搜索商品/店铺内搜索
    public final static String searchGoods = "searchGoods";
    // 商品详情
    public final static String getGoodsInfo = "getGoodsInfo";
    // 商品详情页店铺推荐商品
    public final static String getShopRecoGoods = "getShopRecoGoods";
    // 商品详情页店铺信息
    public final static String getGoodsInfoShopInfo = "getGoodsInfoShopInfo";
    // 银行卡号校验
    public final static String checkBankCard = "checkBankCard";
    // 商品结算页
    public final static String goodsBalancePage = "goodsBalancePage";

    // 商品评论
    public final static String goodsComments = "goodsComments";

    /**********************************分类***************************************/
    // 分类，带子分类
    public final static String getCatsList = "getCatsList";

    /**********************************逛商圈***************************************/
    // 逛商圈
    public final static String busicircle = "busicircle/";
    // 逛商圈一级分类
    public final static String getBusicircleCats = busicircle + "getBusicircleCats";
    // 逛商圈页的店铺数据
    public final static String getCircleIndexShops = busicircle + "getCircleIndexShops";
    // 逛商圈页的查看更多
    public final static String getCircleShops = busicircle + "getCircleShops";
    // 逛商圈分类下的店铺列表
    public final static String getCatShops = busicircle + "getCatShops";
    // 搜索店铺
    public final static String searchShops = busicircle + "searchShops";
    //商铺商品分类
    public final static String getShopGoodsCats = busicircle + "getShopCats";
    //商铺分类下的商品
    public final static String getGoodsByShopCat = busicircle + "getGoodsByShopCat ";

    /**********************************分类***************************************/
    // 我的
    public final static String user = "user/";
    // 获取用户信息
    public final static String getUserInfo = user + "getUserInfo";
    // 获取角色信息
    public final static String getUserRoleInfo = user + "getUserRoleInfo";
    // 提交反馈
    public final static String subFeed = user + "subFeed";
    // 我的页面投诉店铺
    public final static String reportShopUser = user + "reportShop";
    // 用户收获地址列表
    public final static String getUserAddrs = user + "getUserAddrs";
    // 添加收货地址
    public final static String addUserAddr = user + "addUserAddr";
    // 编辑收货地址
    public final static String editUserAddr = user + "editUserAddr";
    // 删除收货地址
    public final static String delUserAddr = user + "delUserAddr";
    // 修改头像
    public final static String editPhoto = user + "editPhoto";
    // 修改用户性别
    public final static String editUserSex = user + "editUserSex";
    // 修改昵称
    public final static String editUserName = user + "editUserName";
    // 更换绑定手机号
    public final static String bindMobile = user + "bindMobile";
    // 获取用户银行卡信息
    public final static String getUserBankCards = user + "getUserBankCards";
    // 绑定银行卡
    public final static String addUserBankcard = user + "addUserBankcard";
    // 解绑银行卡
    public final static String delUserBankcard = user + "delUserBankcard";
    // 修改密码
    public final static String changeUserPassword = user + "changeUserPassword";
    // 设置支付密码
    public final static String setPayPass = user + "setPayPass";
    // 修改支付密码
    public final static String changeUserPayPass = user + "changeUserPayPass";
    // 找回支付密码
    public final static String setPayPassword = user + "setPayPassword";
    // 获取用户绑定信息
    public final static String getUserBindInfo = user + "getUserBindInfo";
    // 佣金查看
    public final static String getUserLingQianInfo = user + "getUserLingQianInfo";
    // 用户今日佣金收益
    public final static String toDayEarnings = user + "toDayEarnings";
    // 所有排名-收益
    public final static String sumUpRanking = user + "sumUpRanking";
    // 用户佣金记录
    public final static String getUserShareRecoed = user + "getUserShareRecoed";
    // 消费记录
    public final static String getUserResumeRecoed = user + "getUserResumeRecoed";
    // 余额转账
    public final static String yueZhuanZhang = user + "yueZhuanZhang";
    // 获取用户实名认证信息
    public final static String getUserCertify = user + "getUserCertify";
    // 提交实名认证
    public final static String subCertity = user + "subCertity";
    // 消息列表
    public final static String userMsgs = user + "userMsgs";
    // 我的团队
    public final static String userGroup = user + "userGroup";
    // 绑定微信
    public final static String bindWx = user + "bindWx";
    // 绑定QQ
    public final static String bindQQ = user + "bindQQ";
    // 反馈回复
    public final static String lookFeed = user + "lookFeed";
    // 投诉回复
    public final static String lookReport = user + "lookReport";
    // 金币转账
    public final static String jifZhuanZhang = user + "jifZhuanZhang";
    // 金币转账
    public final static String userGroupNum = user + "userGroupNum";


    /**********************************订单***************************************/
    // 订单
    public final static String order = "order/";
    // 佣金提现
    public final static String userLingqianTixian = order + "userLingqianTixian";
    // 充值--金币只有商家可以充值
    public final static String recharge = order + "recharge";
    // 提交订单(购物车或直接购买)，请求参数为json字符串，参数名order
    public final static String submitOrder = order + "submitOrder";
    // 限时购下单
    public final static String submitFlashSaleOrder = order + "submitFlashSaleOrder";
    // 砍价购下单
    public final static String submitHaggleOrder = order + "submitHaggleOrder";
    // 订单列表
    public final static String getUserOrders = order + "getUserOrders";
    // 订单详情
    public final static String getUserOrderInfo = order + "getUserOrderInfo";
    // 取消订单
    public final static String userCancleOrder = order + "userCancleOrder";
    // 待付款订单支付
    public final static String orderpay = order + "orderpay";
    // 催单
    public final static String cuidan = order + "cuidan";
    // 确认收获
    public final static String receiveOrder = order + "receiveOrder";
    // 物流信息
    public final static String getOrderSendInfo = order + "getOrderSendInfo";
    // 订单退款
    public final static String applyRefund = order + "applyRefund";
    // 订单退款详情
    public final static String getRefundInfo = order + "getRefundInfo";
    // 快递公司列表
    public final static String getSendCompany = "getSendCompany";
    // 评价订单
    public final static String orderComment = order + "orderComment";
    // 评论完推荐商品
    public final static String getOrderRecoGoods = order + "getOrderRecoGoods";
    // 核销订单
    public final static String checkOrder = order + "checkOrder";


    /**********************************砍价***************************************/
    // 砍价
    public final static String haggle = "haggle/";
    // 砍价详情
    public final static String haggleInfo = haggle + "haggleInfo";
    // 发起砍价
    public final static String launchHaggle = haggle + "launchHaggle";
    // 我发起的砍价
    public final static String launchedHaggles = haggle + "launchedHaggles";
    // 我助力的砍价
    public final static String helpedHaggles = haggle + "helpedHaggles";
    // 砍价规则
    public final static String haggleRoles = haggle + "haggleRoles";
    // 帮忙砍价
    public final static String helpHaggle = haggle + "helpHaggle";

    /**********************************店铺信息***************************************/
    // 店铺信息
    public final static String shop = "shop/";
    // 获取用户店铺申请信息
    public final static String getShopApplyInfo = shop + "getShopApplyInfo";
    // 申请店铺
    public final static String applyShop = shop + "applyShop";
    // 获取店铺分类
    public final static String getShopCats = shop + "getShopCats";

    /**********************************足迹***************************************/
    // 足迹
    public final static String history = "history/";
    // 获取用户足迹
    public final static String getUserGoodsFoots = history + "getUserGoodsFoots";
    // 删除足迹
    public final static String delUserFoot = history + "delUserFoot";


    /**********************************关注/收藏***************************************/
    // 关注
    public final static String favorite = "favorite/";
    // 关注店铺
    public final static String collectShop = favorite + "collectShop";
    // 取消店铺
    public final static String cancleCollectShop = favorite + "cancleCollectShop";
    // 收藏商品
    public final static String collectGoods = favorite + "collectGoods";
    // 取消收藏商品
    public final static String cancleCollectGoods = favorite + "cancleCollectGoods";
    // 商品收藏夹
    public final static String getUserCollectGoods = favorite + "getUserCollectGoods";
    // 删除收藏夹
    public final static String delUserFavorite = favorite + "delUserFavorite";
    // 获取关注的店铺
    public final static String getUserCollectShops = favorite + "getUserCollectShops";

    /**********************************购物车***************************************/
    // 购物车
    public final static String shopCar = "shopCar/";
    // 添加购物车
    public final static String addShopCar = shopCar + "addShopCar";
    // 用户购物车
    public final static String userShopCar = shopCar + "userShopCar";
    // 购物车商品加减一 //	1加一;0减一
    public final static String shopCarGoodsNumChange = shopCar + "shopCarGoodsNumChange";
    // 删除购物车
    public final static String userDelShopCar = shopCar + "userDelShopCar";
    // 购物车结算页数据
    public final static String getShopCarBalancePage = shopCar + "getShopCarBalancePage";
    // 获取用户默认收货地址
    public final static String getUserDefaultAddr = shopCar + "getUserDefaultAddr";
    // 购物车修改商品规格
    public final static String updateProp = shopCar + "updateProp";

    /**********************************融云***************************************/
    // 融云
    public final static String chat = "chat/";
    // 融云token
    public final static String chatToken = chat + "chatToken";

    // 开通会员页-会员标价
    public final static String GetVipPrices = ServiceUrl + "api/member/price";
    // 会员中心-会员信息
    public final static String GetVipInfo = ServiceUrl + "api/member/detail";
    // 会员中心-佣金奖励
    public final static String GetVipRewards = ServiceUrl + "api/member/reward";
    //开通会员-支付
    public final static String PayVip = "member/pay";

    //商家会员的状态
    public final static String GetShopStatus = ServiceUrl + "api/member/shopStatus";
    //代理深航注册接口
    public final static String RegisterAir =  "proxy/shenzhenair/register";
    public static String updateApk = ServiceUrl + "api/app/version/info?type=1";
}
